Shared folder disappeared after reboot [iSCSI]
Hi, I have a drobo unit which I connected via iSCSI. I shared the entire as "root$", the weird thing that every time I reboot, the share would disappeared, and I would have to re-share again. I think the problem is due to iSCSI, since everytime I reboot, the iSCSI target need to be re-mount again, therefore the share would disappear, is my theory correct ? is there a way to script it so that everytime it reboot it will auto set the volume for sharing again ? Thanks !
July 15th, 2010 6:15pm

It would probably be preferred to troubleshoot the iSCSI target to see why it is not mounting at boot (and why the shares are not available upon reboot). If troubleshooting does not work out, then as long as you can get the iSCSI target to mount at boot, it should be as simple as creating a script that runs the net share command to create the share. Run net share /? from the command prompt for more information. You might also be able to use a WMI-based script for this as well. The script would likely be added to the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run to run on system startup. -- Mike Burr
Free Windows Admin Tool Kit Click here and download it now
July 15th, 2010 6:51pm

Hi Mike, Thanks for the reply. It is mounting the iSCSI target at boot, just the share isn't sticking. It shouldn't disappear unless iSCSI hard disk mechanism is different. And that's what I want to find out. Thanks for the tips on auto mounting, i will look into it.
July 15th, 2010 7:00pm

Hi, Please also have a look on following thread: Shares disappear after iSCSI target is lost and reconnected on Windows Server 2003 with MS iSCSI Software Initiator http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/5c91e567-dfc3-4b68-b64c-adcf687ad4e8 Shaon Shan| TechNet Subscriber Support in forum| If you have any feedback on our support, please contact tngfb@microsoft.com
Free Windows Admin Tool Kit Click here and download it now
July 16th, 2010 10:00am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics